dxp-ux

(0 reviews)

Get Customer (TMF-629)

List Customer Details

CSG FIXED CUSTOMERS

This operation allows for the listing of Customer entities with operations that enable users to retrieve the customers with operation GET from the system and apply the transformations if required to maintain the standards with TMF.

URL

http://[localhost]:[port]/dxp-ux/v1/{businessId}/customer

Common Parameters

Base URI parameters and headers are common to all the resources as part of customer management Biz API, listed below with details.

for PR
http://[localhost]:[port]/dxp-ux/v1/PR/customer?identityNumber=7777777777&identityType=PN

Base URI Parameter

NameTypeM/ODescription
businessIdstringMBusiness unit identifier. Example: “JM”,“PA”,“PR”,“CR”

Headers

namevaluedescriptionrequired
Correlation-IDstringThis is a unique identifier for the current call chain that can be used to tie together log entries on multiple layers.
Example: 644e1dd7-2a7f-18fb-b8ed-ed78c3F92c2b
O
channeIdstringChannel to business:
Expected Value: "ECOM"
Note ChannelId default value:ECOM
O
lobStringEnum: PREPAID, POSTPAID,FIXED
Expected value : FIXED
O
targetSystemstringUse this data type to indicate target system name/id in your request.
Expected value as 'csg'

Note: If we won't pass this header targetSystem it will route to other exisiting implementation.
O

Security Headers

namevaluedescriptionrequired
client_idstringClient Id value for Client Id Enforcement policy. Environment Specific Value.
Eg:6f0ed16a7b494d76b2d60e05bc3b3332
M
client_secretstringClient secret value for Client Id Enforcement policy. Environment Specific Value
Eg: e4CD4D43449846aA9D8Cb9c43fAd324a
M

Query Param

nametypedescriptionrequired
identityTypestringFor PR Market. PN = Phone number, AN = Account number, identityType is named as key in sys layer. Key will displayed in error response when we miss this field.

Example - For PR - AN, PN
M
identityNumberstringFor PR Market. identityNumber is named as keyType in sys layer. KeyType will displayed in error response when we miss this field.

Example - For PR - 7306179999, 8211990010034312
M

HTTP Status response is 200

PR Market Response.


[
    {
        "id": "1101521301346",
        "name": "ANGEL  MARTINEZ",
        "account": [
            {
                "id": "8211990010012706"
            }
        ],
        "contactMedium": [
            {
                "characteristic": {
                    "phoneNumber": "7872100000"
                }
            }
        ]
    }
]

Response Model

nametyperequireddescription
@typestringOWhen sub-classing, this defines the sub-class entity name
hrefStringOUrl used to reference the customer.
IdstringOUnique identifier for Customers
NamestringOA word, term, or phrase by which the Customer is known and distinguished from other Customers.
Account[]Array of ObjectOAccount reference. A account may be a party account or a financial account.
Account[].idStringOUnique identifier of the account
contactMedium[]Array of ObjectOIndicates the contact medium that could be used to contact the party.
contactMedium[].characteristicObjectMDescribes the contact medium characteristics that could be used to contact a party (an individual or an organization)
contactMedium[].characteristic.phoneNumberstringOThe Phone number

Possible Error Response

400
{
    "errors": [
        {
            "code": 400,
            "message": "CSG: Error while retrieving the customer information",
            "description": "2099   ** CIP09W - UNABLE TO XREF SUB PREFIX"
        }
    ]
}

Reviews